// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import com.fowo.api.sys.rd2.annotation.RoleData2;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * FBAInvoice
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "fba_invoice", autoResultMap = true)
@Schema(title = "发货单")
@RoleData2(groupId = 2, funcKey = "FBAInvoice")
public class FBAInvoice implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 发货单号
   */
  @TableField(value = "`inovice_code`")
  @Schema(title = "发货单号")
  private String inoviceCode;

  /**
   * 发货仓库
   */
  @TableField(value = "`delivery_warehouse`")
  @JoinField(Warehouse.class)
  @Schema(title = "发货仓库")
  private Long deliveryWarehouse;

  /**
   * 货件号
   */
  @TableField(value = "`shipment_code`")
  @Schema(title = "货件号")
  private String shipmentCode;

  /**
   * 运输方式 (1 - 快递; 2 - 海运; 3 - 空运; 4 - 其他; )
   */
  @TableField(value = "`transport_mode`")
  @Schema(title = "运输方式")
  private String transportMode;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 物流商
   */
  @TableField(value = "`logistics_provider`")
  @Schema(title = "物流商")
  private String logisticsProvider;

  /**
   * 物流商单号
   */
  @TableField(value = "`logistics_tracking_number`")
  @Schema(title = "物流商单号")
  private String logisticsTrackingNumber;

  /**
   * 物流渠道
   */
  @TableField(value = "`logistics_channel`")
  @Schema(title = "物流渠道")
  private String logisticsChannel;

  /**
   * 物流信息
   */
  @TableField(value = "`logistics_info`")
  @Schema(title = "物流信息")
  private String logisticsInfo;

  /**
   * 发货人
   */
  @TableField(value = "`send_name`")
  @Schema(title = "发货人")
  private String sendName;

  /**
   * 发货时间
   */
  @TableField(value = "`send_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "发货时间")
  private java.util.Date sendTime;

  /**
   * 预计到货时间
   */
  @TableField(value = "`expect_reach_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "预计到货时间")
  private java.util.Date expectReachTime;

  /**
   * 实际发货时间
   */
  @TableField(value = "`reality_send_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "实际发货时间")
  private java.util.Date realitySendTime;

  /**
   * 物流中心编码
   */
  @TableField(value = "`logistics_center_code`")
  @Schema(title = "物流中心编码")
  private String logisticsCenterCode;

  /**
   * 付款状态
   */
  @TableField(value = "`payment_status`")
  @Schema(title = "付款状态")
  private String paymentStatus;

  /**
   * 发货状态
   */
  @TableField(value = "`invoice_status`")
  @Schema(title = "发货状态")
  private String invoiceStatus;

  /**
   * 打印状态 (0 - 未打印; 1 - 已打印; )
   */
  @TableField(value = "`print_status`")
  @Schema(title = "打印状态")
  private String printStatus;

  /**
   * 打印数量
   */
  @TableField(value = "`print_num`")
  @Schema(title = "打印数量")
  private Integer printNum;

  /**
   * 拣货状态 (0 - 未拣货; 1 - 已拣货; )
   */
  @TableField(value = "`is_pick`")
  @Schema(title = "拣货状态")
  private String isPick;

  /**
   * 拣货时间
   */
  @TableField(value = "`pick_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "拣货时间")
  private java.util.Date pickTime;

  /**
   * 计划发货时间
   */
  @TableField(value = "`shipment_plan_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "计划发货时间")
  private java.util.Date shipmentPlanTime;

  /**
   * 物流状态
   */
  @TableField(value = "`logistics_status`")
  @Schema(title = "物流状态")
  private String logisticsStatus;

  /**
   * VAT税号
   */
  @TableField(value = "`vat`")
  @Schema(title = "VAT税号")
  private String vat;

  /**
   * 负责人
   */
  @TableField(value = "`principal`")
  @Schema(title = "负责人")
  private String principal;

  /**
   * 创建人
   */
  @TableField(value = "`lx_create_user`")
  @Schema(title = "创建人")
  private String lxCreateUser;

  /**
   * 物流预计时效
   */
  @TableField(value = "`logistics_expected_aging`")
  @Schema(title = "物流预计时效")
  private Integer logisticsExpectedAging;

  /**
   * 分摊方式
   */
  @TableField(value = "`allocation_type`")
  @Schema(title = "分摊方式")
  private String allocationType;

  /**
   * 备注
   */
  @TableField(value = "`remark`")
  @Schema(title = "备注")
  private String remark;

  /**
   * 附件
   */
  @TableField(value = "`file`")
  @Schema(title = "附件")
  private String file;

  /**
   * 是否推送出库单
   */
  @TableField(value = "`is_out`")
  @Schema(title = "是否推送出库单")
  private Boolean isOut;

  /**
   * 是否锁库存 (1 - 是; 0 - 否; )
   */
  @TableField(value = "`islockinventory`")
  @Schema(title = "是否锁库存")
  private String islockinventory;

  /**
   * 发货产品
   */
  @TableField(value = "`productitems`")
  @Schema(title = "发货产品")
  private String productitems;

  /**
   * 计划发货量
   */
  @TableField(value = "`plan_send_quantity`")
  @Schema(title = "计划发货量")
  private String planSendQuantity;

  /**
   * 申报量
   */
  @TableField(value = "`declaration_quantity`")
  @Schema(title = "申报量")
  private String declarationQuantity;

  /**
   * 发货量
   */
  @TableField(value = "`send_quantity`")
  @Schema(title = "发货量")
  private String sendQuantity;

  /**
   * 运输方式 (0 - 海派; 1 - 空派; )
   */
  @TableField(value = "`modeoftransport`")
  @Schema(title = "运输方式")
  private String modeoftransport;

  /**
   * 物流商
   */
  @TableField(value = "`logisticsprovider1`")
  @JoinField(LogisticsProvider.class)
  @Schema(title = "物流商")
  private Long logisticsprovider1;

  /**
   * 物流渠道
   */
  @TableField(value = "`logistics_channel1`")
  @JoinField(LogisticsChannel.class)
  @Schema(title = "物流渠道")
  private Long logisticsChannel1;

  /**
   * 计费规则
   */
  @TableField(value = "`billingrules`")
  @Schema(title = "计费规则")
  private String billingrules;

  /**
   * 材积参数
   */
  @TableField(value = "`volumeparame`")
  @Schema(title = "材积参数")
  private String volumeparame;

  /**
   * 收件方式 (0 - 上门揽收; 1 - 送货上门; )
   */
  @TableField(value = "`receivingmethod`")
  @Schema(title = "收件方式")
  private String receivingmethod;

  /**
   * 揽收时间
   */
  @TableField(value = "`collectiontime`")
  @Schema(title = "揽收时间")
  private java.util.Date collectiontime;

  /**
   * 一般贸易 (0 - 是; 1 - 否; )
   */
  @TableField(value = "`generaltrading`")
  @Schema(title = "一般贸易")
  private String generaltrading;

  /**
   * 包税 (0 - 是; 1 - 否; )
   */
  @TableField(value = "`taxgrossup`")
  @Schema(title = "包税")
  private String taxgrossup;

  /**
   * 保险 (0 - 是; 1 - 否; )
   */
  @TableField(value = "`insure`")
  @Schema(title = "保险")
  private String insure;

  /**
   * EORI
   */
  @TableField(value = "`eori`")
  @Schema(title = "EORI")
  private String eori;

  /**
   * VAT税号
   */
  @TableField(value = "`vatduty`")
  @Schema(title = "VAT税号")
  private String vatduty;

  /**
   * 自定义单号
   */
  @TableField(value = "`customordernumber`")
  @Schema(title = "自定义单号")
  private String customordernumber;

  /**
   * 分摊方式
   */
  @TableField(value = "`allocationmethod`")
  @Schema(title = "分摊方式")
  private String allocationmethod;

  /**
   * 货件id
   */
  @TableField(value = "`shipment_ids`")
  @Schema(title = "货件id")
  private Long shipmentIds;

  /**
   * 净重量
   */
  @TableField(value = "`net_weight`")
  @Schema(title = "净重量")
  private java.math.BigDecimal netWeight;

  /**
   * 毛重量
   */
  @TableField(value = "`gross_weight`")
  @Schema(title = "毛重量")
  private java.math.BigDecimal grossWeight;

  /**
   * 总体积
   */
  @TableField(value = "`total_volume`")
  @Schema(title = "总体积")
  private java.math.BigDecimal totalVolume;
}
